﻿using Identity.Data.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Identity101.Data
{
    public class IdentityDbContext : IdentityDbContext<ApplicationUser>
    {

        public IdentityDbContext() : base("IdentityDemoConnection", throwIfV1Schema: false) { }

        public DbSet<Address> Addresses { get; set; }

        public static IdentityDbContext Create()
        {
            return new IdentityDbContext();
        }

    }

}
